package com.ycxh.config;

import com.ycxh.RemoteDeployApplication;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class MyCommandRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        System.out.println("----MyCommandRunner----");
        String url = RemoteDeployApplication.url;
        RemoteDeployApplication.openBrowPop(url);
    }

}
